<template>
	<view class="body flex align-center justify-center flex-direction">
		<image src="/static/e3.png"></image>
		<text> 当前绑定手机号</text>
		<text>{{user.mobile.substring(0,3)}}******{{user.mobile.substring(user.mobile.length-2)}}</text>
		<view @click="toNext" class="btn">更换手机号</view>
	</view>
</template>

<script>
	var api = require('@/components/api.js');
	export default {
		data() {
			return {
				user:'',
				
			}
		},
		onLoad() {
		 this.user = uni.getStorageSync('user')	
		},
		methods: {
			toNext(){
				uni.navigateTo({
					url:"/pages/changePhoneNum/changePhoneNum"
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	page{
		background-color: #fff;
	}
	.body>text:nth-child(2){
		font-size: 26upx;
			color: #000000;
			margin-top: 30upx;
	}
	.body>text:nth-child(3){
		font-size: 46upx;
			color: #666666;
			margin-top: 30upx;
	}
	.body image{
		width: 116upx;
		height: 220upx;
		margin-top: 90upx;
	}
	.btn{
		text-align: center;
		width: 560upx;
		line-height: 70upx;
			height: 70upx;
			background-color: $btn-bground;
			border-radius: 35upx;
			color: #fff;
			font-size: 28upx;
			margin-top: 60upx;
	}
</style>
